package com.snowfield.lb47.lbconfig.service;

import java.util.List;

import com.snowfield.lb47.lbconfig.domain.HttpCheckParam;

/**
 * HTTP检测参数Service接口
 * 
 * @author snowfield
 * @date 2024-05-28
 */
public interface IHttpCheckParamService
{
    /**
     * 查询HTTP检测参数
     * 
     * @param id HTTP检测参数主键
     * @return HTTP检测参数
     */
    public HttpCheckParam selectHttpCheckParamById(Long id);

    /**
     * 查询HTTP检测参数列表
     * 
     * @param httpCheckParam HTTP检测参数
     * @return HTTP检测参数集合
     */
    public List<HttpCheckParam> selectHttpCheckParamList(HttpCheckParam httpCheckParam);

    /**
     * 新增HTTP检测参数
     * 
     * @param httpCheckParam HTTP检测参数
     * @return 结果
     */
    public int insertHttpCheckParam(HttpCheckParam httpCheckParam);

    /**
     * 修改HTTP检测参数
     * 
     * @param httpCheckParam HTTP检测参数
     * @return 结果
     */
    public int updateHttpCheckParam(HttpCheckParam httpCheckParam);

    /**
     * 批量删除HTTP检测参数
     * 
     * @param ids 需要删除的HTTP检测参数主键集合
     * @return 结果
     */
    public int deleteHttpCheckParamByIds(Long[] ids);

    /**
     * 删除HTTP检测参数信息
     * 
     * @param id HTTP检测参数主键
     * @return 结果
     */
    public int deleteHttpCheckParamById(Long id);

    /**
     * 校验HTTP检测参数名称是否唯一
     *
     * @param httpCheckParam HTTP检测参数
     * @return 结果
     */
    public Boolean checkNameUnique(HttpCheckParam httpCheckParam);
}
